
package br.siseventos.service;

import br.siseventos.dao.InscricaoDao;
import br.siseventos.model.TbEvento;
import br.siseventos.model.TbUsuario;
import java.io.Serializable;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;


public class InscricaoService extends BaseService{
    // Campos
    private InscricaoDao inscricaoDao = new InscricaoDao();
    
    // Construtor
    public InscricaoService() {
    }
    
    // Serviço
    @Transactional
    public List<TbUsuario> consultar(TbEvento evento) throws Exception{
        return inscricaoDao.consultar(evento);
    }
    
}
